<?php
/**
 * Created by PhpStorm.
 * User: zl
 * Date: 2017/6/24
 * Time: 20:25
 */

    require_once('OrdinaryFee.php');
    require_once('../Common.php');
    $sectionID = $_REQUEST['sectionID'];    //部门ID，0为全部
    $name = $_REQUEST['username']; //查询用户姓名

    if(!isset($sectionID) || !isset($name)){
        exit (json_encode(array('error'=>'POST_ERROR', 'state'=>0)));
    }

    $o_fee = new OrdinaryFee();
    $result_array = array();


        //业务报销
    echo json_encode($o_fee->getFinanceOrdinaryFeeApprove($sectionID, $name));





?>